@tool
@icon("../icons/not_guard.svg")
class_name Guard_Not
extends Guard

@export var guard:Guard

func is_satisfied(transition:Transition,state:State) -> bool:
	return true if not guard else guard.is_satisfied(transition,state)

func _init() -> void:
	if Engine.is_editor_hint():
		resource_local_to_scene = true
